package com.im.feign.service;

import com.im.common.vo.MatchVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


/**
 * @auther Zeng
 * @date 2023/7/11 - 19:50
 */
@FeignClient(name = "im-user",path = "/user/third")
@Service
public interface UserService {

    @PostMapping("/getMatch")
    public List getMatchPeople(@RequestBody MatchVo matchVo);

}

